home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct12010.geo / 00039.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  1.3 KB  |  74 lines

  1. on startMovie
  2.   Set_CDcounter(1)
  3.   initLesson()
  4.   CheckForTagWd()
  5. end
  6.  
  7. on HideLastStep
  8.   if Get_NEXT() = 2 then
  9.     set the movieRate of sprite 10 to 0
  10.   end if
  11. end
  12.  
  13. on TheinitCursor
  14.   initCursorCastNum()
  15.   initCursorList(1)
  16.   set CursorCastNum to getCursor(2)
  17.   cursor([CursorCastNum, CursorCastNum + 1])
  18. end
  19.  
  20. on checkScreenStatus
  21.   CheckRollOver()
  22.   CheckSnakeStatus()
  23.   go(the frame)
  24. end
  25.  
  26. on BlinkNext
  27.   if (the timer > getTimer()) and not soundBusy(2) then
  28.     startTimer()
  29.     if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
  30.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
  31.     else
  32.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
  33.     end if
  34.   end if
  35. end
  36.  
  37. on GoNext
  38.   if not get_Disabled() then
  39.     sound stop 2
  40.     if Get_NEXT() > 1 then
  41.       sound stop 1
  42.       GoNextMovie()
  43.     else
  44.       go("t" & Get_NEXT())
  45.     end if
  46.     Set_NEXT(Get_NEXT() + 1)
  47.   end if
  48. end
  49.  
  50. on stopMovie
  51.   sound stop 1
  52.   unLoad()
  53.   setEmptyCursor()
  54. end
  55.  
  56. on GoNextMovie
  57.   PlaySound("GOSOUND.SO1")
  58.   unLoad()
  59.   SaveHilite()
  60.   Add_CDcounter(1)
  61.   set cdNum to Get_CDcounter()
  62.   set movieName to item cdNum of Get_CurrentSnakeScreens()
  63.   go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
  64. end
  65.  
  66. on playTheTSound theTSnd
  67.   PlaySound("NCT12010.S0" & theTSnd)
  68. end
  69.  
  70. on REPALY
  71.   UpdateCursors(14, 0)
  72.   go("t1")
  73. end
  74.